package com.zzjc.web.mapper;

import com.zzjc.web.entity.Alarm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AlarmDao {
    int insertAlarm(Alarm alarm);
    int updateAlarm(@Param("alarmId") String alarmId);
    int deleteAlarm(@Param("alarmList") List<Integer> alarmList);
    List<Alarm> findAll(Alarm alarm);
} 